/**
 * Created by Adi(adi@imeth.cn) on 2016/11/3.
 */

let count = 1;

export default function c(state = {}, action) {
	switch(action.type) {
		case 'add':
			return {
				count: ++count
			};
		default:
			return state;
	}
}
